<template>
<div class="" v-on:click.capture="show('我是父元素')">
    <button v-on:click="show('我是子元素')">事件捕获</button>
</div>
</template>

<script setup>
let show = message => console.log(message);

</script>

<style scoped></style>